package com.ftz.examinationsystem.pojo;

import java.util.Date;

/**
 * 考试相关参数从表单传递给后端用一个对象ArrangeParam来接受
 */
public class ArrangeParam {
    private String examData;
    private String course;
    private String starttime;
    private String endtime;
    private Integer duration;
    private Integer interval;
    private String roomNum;

    public ArrangeParam() {
    }

    public ArrangeParam(String examData, String course, String starttime, String endtime, Integer duration, Integer interval, String roomNum) {
        this.examData = examData;
        this.course = course;
        this.starttime = starttime;
        this.endtime = endtime;
        this.duration = duration;
        this.interval = interval;
        this.roomNum = roomNum;
    }

    public String getExamData() {
        return examData;
    }

    public void setExamData(String examData) {
        this.examData = examData;
    }

    public String getCourse() {
        return course;
    }

    public void setCourse(String course) {
        this.course = course;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public Integer getInterval() {
        return interval;
    }

    public void setInterval(Integer interval) {
        this.interval = interval;
    }

    public String getRoomNum() {
        return roomNum;
    }

    public void setRoomNum(String roomNum) {
        this.roomNum = roomNum;
    }

    @Override
    public String toString() {
        return "ArrangeParam{" +
                "examData=" + examData +
                ", course='" + course + '\'' +
                ", starttime=" + starttime +
                ", endtime=" + endtime +
                ", duration=" + duration +
                ", interval=" + interval +
                ", roomNum='" + roomNum + '\'' +
                '}';
    }
}
